run this command in your mysql console. set global net_buffer_length=1000000; set global max_allowed_packet=1000000000;